package com.han.spring.mvc._0010_hello;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
* @author hanpeng
* @version 创建时间：2020年8月2日 上午11:47:37
* @ClassName 类名称
* @Description 类描述
*/
@Controller
public class HelloController {
	private  static Log log = LogFactory.getLog(HelloController.class);
	@RequestMapping("/hello")
	public String hello() {
		log.trace("i love you");
		System.out.println("hello");
		return "success";
	}
}
